Syntax

DC SET SUN DIRECTION X, Y, Z

Parameters

float: X, Y, Z

The co-ordinate values. The direction will be post-normalized, so any values can be used as long as at least one of x, y, or z is non-zero.

Returns

This command does not return a value.

Example Code

rem Add the sun
load image "Sun.png",1
dc set sun image 1,0.2
dc set sun direction 0.0,0.2,1.0

See also

DC SET AUTO SUN DIRECTION
DC SET SUN IMAGE.htm
DarkCLOUDS Commands Menu
Index